let http = require('http')
let server = http.createServer('/index','aaa',err=>{
    if(err) {throw err}
    else {
        console.log('成功');
    }
})

server.listen(10101,()=>{
    console.log('running');
})